package com.nf.dao;

import com.nf.entity.Account;

public interface AccountMapper {

    //添加Account
    public boolean addAccount(Account account);
    //获取一条记录
    public Account getAccountById(Integer id);
    //添加查找姓名
    public Account getAccountByUserName(String userName);
    //修改记录
    public boolean updateAccount(Account account);
    //通过ID删除account账号
    public boolean deleteAccountById(Integer id);
    //通过卡号删除账号
    public boolean deleteAccountByCardNo(String cardNo);

}
